ButtonFrame
implements the ActionListener interface,
so it must define each method described in the interface.
For the ActionListener
interface,
there is only one method: actionPerformed()
.
Here is the program with
a start on adding a listener:
Fill in the blanks. (Hint: copy and paste from the first sentence of this page.)